package com.jiangnan.warehouse_management.dto.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.sql.Timestamp;

@Data
public class UserResponse {
    private Integer userId;
    private String username;
    private String realName;
    private String phone;
    private String email;
    private String role;
    private Boolean status;
    private Timestamp lastLoginTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Timestamp createdAt;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Timestamp updatedAt;
}